package com.zhuchang.self_rpc.test.democoding.nettydemo;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @Author RenPu
 * @Date 2022/2/10 15:54
 * @Version 1.0
 * @Description:
 **/
public class ClientNettyHandle extends SimpleChannelInboundHandler<String> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, String s) throws Exception {
        System.out.println(s.trim());
    }
}
